extends CharacterBody2D

# 这个方案并不完美，如何计算使其十分契合还不知道怎么操作

const SPEED = 200.0

func _physics_process(delta):
	velocity = Input.get_vector("ui_left","ui_right","ui_up","ui_down").normalized() * SPEED
	move_and_slide()
